layui.use(['table', 'laytpl', 'layer'], function() {
	var $ = layui.$;
	var table = layui.table;
	var layer = layui.layer;
	var laytpl = layui.laytpl;
	table.render({
		elem: '#registrationGrid',//指定原始表格元素选择器（推荐id选择器）
		url: '/mock/registrationList.json',//请求地址
		cols: [[
			{checkbox: true, fixed: true},
			{field:'title', title: '文件名称', width:'10%'},
			{field:'docnum', title: '发文字号', width:'10%'},
			{field:'fileproperties', title: '文件性质', width:'10%'},
			{field:'contentcategories', title: '内容分类', width:'10%'},
			{field:'postdate', title: '发布日期', width:'10%'},
			{field:'postdeptname',title:'发布单位',width:'10%'},
			{field:'secretlevel', title: '密级', width:'10%'},
			{field:'flowStatus', title: '状态', width:'10%'},
			{fixed:'right',title: '操作', width:'16%',align:'center', toolbar:'#handle'}
		]],//设置表头
		id		: 'table_reload',//设定容器唯一ID
		page	: true,//开启分页
		limits	: [10, 20, 50, 100],//每页数量
		limit	: 10,//默认每页数量
		height	: 'full-100',//容器高度
		method	: 'get',
		even	: true//隔行换色
	});
});